export const constantRouterMap = [
    {
        path: '/',
        redirect: '/home',
    },
    {
        path: '/home',
        component: () => import('@/views/home'),
        meta: {title: '电协 | 竞赛系统'}
    },
    {
        path: '/login',
        component: () => import('@/views/login'),
        meta: {title: '电协 | 登录'}
    },
    {
        path: '/questions',
        component: () => import('@/views/questions'),
        meta: {title: '题库管理'}
    },
    {
        path: '/paper',
        component: () => import('@/views/paper'),
        meta: {title: '考试管理'}
    },
    {
        path: '/user',
        component: () => import('@/views/user'),
        meta: {title: '用户管理'}
    },
    {
        path: '/exam',
        component: () => import('@/views/exam'),
        meta: {title: '考试'}
    },
    {
        path: '/rank',
        component: () => import('@/views/rank'),
        meta: {title: '排行榜'}
    },
    {
        path: '/404',
        component: () => import('@/views/exception/404'),
        meta: {title: '找不到'}
    },
    {
        path: '*',
        redirect: '/404'
    }

]
